home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / xpconnect / XPCIDispatch.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  2KB  |  86 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM XPCIDispatch.idl
  3.  */
  4.  
  5. #ifndef __gen_XPCIDispatch_h__
  6. #define __gen_XPCIDispatch_h__
  7.  
  8.  
  9. #ifndef __gen_nsISupports_h__
  10. #include "nsISupports.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. #error "You should not be including this file"
  18.  
  19. /* starting interface:    IDispatch */
  20. #define IDISPATCH_IID_STR "00020400-0000-0000-c000-000000000046"
  21.  
  22. #define IDISPATCH_IID \
  23.   {0x00020400, 0x0000, 0x0000, \
  24.     { 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 }}
  25.  
  26. /**
  27.  * This interface is not to be used directly, it is to be used internally
  28.  * for XPConnect's IDispatch support
  29.  */
  30. class NS_NO_VTABLE IDispatch : public nsISupports {
  31.  public: 
  32.  
  33.   NS_DEFINE_STATIC_IID_ACCESSOR(IDISPATCH_IID)
  34.  
  35. };
  36.  
  37. /* Use this macro when declaring classes that implement this interface. */
  38. #define NS_DECL_IDISPATCH \
  39.   /* no methods! */
  40.  
  41. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  42. #define NS_FORWARD_IDISPATCH(_to) \
  43.   /* no methods! */
  44.  
  45. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  46. #define NS_FORWARD_SAFE_IDISPATCH(_to) \
  47.   /* no methods! */
  48.  
  49. #if 0
  50. /* Use the code below as a template for the implementation class for this interface. */
  51.  
  52. /* Header file */
  53. class _MYCLASS_ : public IDispatch
  54. {
  55. public:
  56.   NS_DECL_ISUPPORTS
  57.   NS_DECL_IDISPATCH
  58.  
  59.   _MYCLASS_();
  60.  
  61. private:
  62.   ~_MYCLASS_();
  63.  
  64. protected:
  65.   /* additional members */
  66. };
  67.  
  68. /* Implementation file */
  69. NS_IMPL_ISUPPORTS1(_MYCLASS_, IDispatch)
  70.  
  71. _MYCLASS_::_MYCLASS_()
  72. {
  73.   /* member initializers and constructor code */
  74. }
  75.  
  76. _MYCLASS_::~_MYCLASS_()
  77. {
  78.   /* destructor code */
  79. }
  80.  
  81. /* End of implementation class template. */
  82. #endif
  83.  
  84.  
  85. #endif /* __gen_XPCIDispatch_h__ */
  86.